package com.demo.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.demo.entity.Employee;
import com.demo.mapper.EmployeesMapper;
import com.demo.service.EmployeesService;


@Service("employeesServiceImpl")
public class EmployeesServiceImpl implements EmployeesService {

	@Autowired
	private EmployeesMapper empMapper;
	
	@Override
	public List<Employee> selectAllEmpTable() {
		
		return empMapper.selectAllEmpTable();
	}

	@Override
	public void deleteEmployee(String id) {
		// TODO Auto-generated method stub
		empMapper.deleteEmployee(id);
	}

	@Override
	public void updateEmployee() {
		// TODO Auto-generated method stub
		
	}

	
}
